package com.peas.platform.module.icims;

import cn.hutool.extra.spring.EnableSpringUtil;
import com.peas.platform.common.core.constant.Constants;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = Constants.BASE_PACKAGE)
@EnableSpringUtil
@ComponentScan(value = {Constants.BASE_PACKAGE})
@Slf4j
public class IcimsApp {
    public static void main(String[] args) {
        System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
        ApplicationContext ac = SpringApplication.run(IcimsApp.class, args);
        System.out.println("Congratulations!");
    }
}
